<template>
    <swiper class="topImages">
        <swiper-item v-for="(item,index) in topImages" :key="index" class="topImages-item">
            <img :src="item" alt="">
        </swiper-item>
    </swiper>
</template>
<script>
import {Swiper,SwiperItem} from 'components/common/swiper'
    export default {
        name:'detailSwiper',
        props:{
            topImages:{
                type:Array,
                default(){
                    return []
                }
            }
        },
        components:{
            Swiper,
            SwiperItem
        }
    }
</script>
<style scope>
  .topImages {
    top: 0px !important;
    height: 250px;
    overflow: hidden;
  }
  .topImages-item img{
    height: 100%;
  }
</style>